import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
import http from '@/utlis/api'
//把api绑到原型链上
Vue.prototype.$http=http
Vue.config.productionTip = false
import img from '@/utlis/img'
Vue.prototype.$img=img


import {
  Toast,
  Dialog
} from 'vant';
Vue.use(Toast)
Vue.use(Dialog)
new Vue({
  render: h => h(App),
  router,//挂载路由
  store,//挂载状态管理系统
}).$mount('#app')
